<template><div>    <ChatList :chat-list="chatList"></ChatList></div></template><script>    import ChatList from '../components/ChatList.vue'export default{components:{    ChatList},    created : function(){        this.$http.get('/src/static/data.json').then(function(res){            this.$store.commit('setChatList',res.data);        },function(res){            console.log(res.status + ' @' +new Date())        })    },    computed : {        chatList : function(){            return this.$store.getters.getChatList        }    }}</script><style scoped></style>